<h1><%= @page_title %></h1>

<%= form_for @user, :url => { :action => "authenticate" } do |f| %>
<p>
<%= error_messages_for :user %>
</p>
<p>
  <%= label_tag(:username, "Username") %>
  <%= f.text_field :username %>
</p>
<p>
  <%= label_tag(:password, "Password") %>
  <%= f.password_field :password %>
</p>
<p>
  <%= f.submit "Login" %>
</p>
<% end %>

<p>New user? <%= link_to "Sign up now!", signup_path %></p>

